package myqueue;

import java.util.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class Text {
    public static void main(String[] args) {
        List<String> s =new Stack<>();
    }
    public static void main3(String[] args) {
        Deque<Integer> s =new LinkedList<>();
        s.offer(1);
        s.offer(2);
        System.out.println(s.poll());
    }
    public static void main4(String[] args) {
        MyStack myStack =new MyStack();
        myStack.push(1);
        myStack.push(2);
        int val1=myStack.top();
        int val2=myStack.pop();
        System.out.println(val1);
        System.out.println(val2);
    }
//    public static void main(String[] args) {
//        int [] array =new int[10];
//        array.
//        MyQueue myQueue =new MyQueue();
//        myQueue.offer(1);
//        myQueue.offer(12);
//        System.out.println(myQueue.peek());
//        System.out.println(myQueue.poll());
//        System.out.println(myQueue.poll());
//    }
}
